#!/bin/sh


COUNT=`crontab -l | grep '/home/s/bin/watchpid ' | grep -v '#' | wc -l | awk '{print $1}'`
if [ $COUNT -gt 0 ]
then
	TMPCRON=/tmp/watchpid.cron.tmp
	crontab -l | grep -v '/home/s/bin/watchpid ' >$TMPCRON
	crontab $TMPCRON
fi

